package file;

import java.io.FileWriter;
import java.io.IOException;
import java.io.Writer;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ASUS
 * Date: 2025-02-27
 * Time: 22:22
 */
public class Demo9 {
    public static void main(String[] args) throws IOException {
        try (Writer writer = new FileWriter("d:/test.txt",true)){
            writer.write("hello java");
        }
    }
}
